<template>
  <div class="main">
    <div></div>
    <div class="light">
      <div class="content">
        <div class="line1">宏志助航计划</div>
        <div class="line2">培训625人</div>
        <div class="line2">（校内343人）</div>
      </div>
    </div>
    <div class="light">
      <div class="content">
        <div class="line1">求职创业补贴</div>
        <div class="line2">1052人</div>
        <div class="line2">105.2万</div>
      </div>
    </div>
    <div></div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.main {
  width: 100%;
  //   height: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #0b1f42;
  padding-top: 3vh;
}
.light {
  width: 7.5vw; /* 宽度改为相对视口宽度 */
  height: 7.5vw; /* 高度改为相对视口高度 */
  border-radius: 50%;
  animation: light 3s ease-in-out infinite alternate;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, rgba(0, 194, 220), rgba(0, 0, 0, 0.6));
  box-shadow: 0 0 2vw rgba(0, 194, 220); /* 发光效果改为相对单位 */
  //   transform: translate(-50%, -50%);
}

.content {
  text-align: center;
  color: #fff;
  font-size: 0.8rem; /* 字体大小相对视口宽度 */
}

.line1 {
  font-weight: bold;
  margin-bottom: 1vh; /* 纵向间距调整为vh单位 */
}

.line2 {
  font-size: 0.8rem; /* 字体大小调整为相对单位 */
}

@keyframes light {
  from {
    box-shadow: 0px 0px 2vw rgba(0, 194, 220);
  }
  to {
    box-shadow: 0px 0px 4vw rgba(0, 194, 220);
  }
}
</style>
